package siar.rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import siar.webservice.Bebida;
import siar.webservice.BebidaBean;
import siar.webservice.Endereco;
import siar.webservice.EnderecoBean;
import siar.webservice.Financeiro;
import siar.webservice.FinanceiroBean;
import siar.webservice.Insumo;
import siar.webservice.InsumoBean;
import siar.webservice.Pedido;
import siar.webservice.PedidoBean;
import siar.webservice.Pessoa;
import siar.webservice.PessoaBean;
import siar.webservice.PessoaTipoBean;
import siar.webservice.Prato;
import siar.webservice.PratoBean;
import siar.webservice.PratoInsumoBean;
import siar.webservice.Prato_Insumo;
import siar.webservice.ServicosSIARSoap;
import siar.webservice.Venda;
import siar.webservice.VendaBean;

public class ServicosSIAR_RMI implements ServicosSIARSoap{
	public ServicosSIARSoap objetoWS;
	
	public ServicosSIAR_RMI() throws RemoteException {
		UnicastRemoteObject.exportObject(this);
	}

	@Override
	public void bebidaAtualizar(BebidaBean bebida) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public BebidaBean bebidaBuscar(int id) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void bebidaCadastrar(Bebida bebida) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void bebidaDeletar(int id) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public BebidaBean[] bebidaListar() throws RemoteException {
		return this.objetoWS.bebidaListar();
	}

	@Override
	public PessoaBean clienteBuscar(String telefoneP) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void clienteCadastrar(Pessoa pessoa, Endereco endereco)
			throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void clienteDeletar(String telefone) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public PessoaBean[] clienteListar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PessoaBean efetuarLoginWeb(String login, String senha)
			throws RemoteException {
		return this.objetoWS.efetuarLoginWeb(login, senha);
	}

	@Override
	public EnderecoBean[] enderecoListar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean funcionarioCadastrar(Pessoa pessoa, Endereco endereco,
			String tipo) throws RemoteException {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public PessoaBean[] funcionarioListar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void insumoAtualizar(InsumoBean insumo) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void insumoCadastrar(Insumo insumo) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void insumoDeletar(int id) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public InsumoBean[] insumoListar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

		@Override
	public void pratoAtualizar(Prato prato) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public PratoBean[] pratoListar() throws RemoteException {
		return this.objetoWS.pratoListar();
	}

	@Override
	public void clienteAtualizar(PessoaBean pessoaBean,
			EnderecoBean enderecoBean) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void funcionarioAtualizar(Pessoa pessoaBean, Endereco enderecoBean)
			throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void funcionarioDeletar(String telefone) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public EnderecoBean enderecoBuscar(int id) throws RemoteException {
		return this.objetoWS.enderecoBuscar(id);
	}

	@Override
	public void pedidoCadastrar(Pedido pedido) throws RemoteException {
		this.objetoWS.pedidoCadastrar(pedido);
	}

	@Override
	public PedidoBean[] pedidoListar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PedidoBean[] pedidosListarPorCliente(int idCliente) throws RemoteException {
		return this.objetoWS.pedidosListarPorCliente(idCliente);
	}

	@Override
	public String recuperarFuncionario(int id_func) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PessoaTipoBean[] tipoListar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void vendaCadastrar(Venda venda) throws RemoteException {
		this.objetoWS.vendaCadastrar(venda);
	}

	@Override
	public VendaBean[] vendaListar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String bebidaRecuperarDescricao(int id) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String clienteRecuperarNome(int id) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public InsumoBean insumoBuscar(int id) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PratoBean pratoBuscar(int id) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void pratoCadastrar(Prato prato, Prato_Insumo[] insumos)
			throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public PratoInsumoBean[] pratoInsumoBuscar(int idPrato)
			throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public VendaBean vendaBuscarPorCliente(int idCliente)
			throws RemoteException {
		return this.objetoWS.vendaBuscarPorCliente(idCliente);
	}

	@Override
	public void vendaEncerrar(Venda v) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public PratoBean recuperarPrato(int id_prato) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public BebidaBean[] bebidasListarDaVendaAtual(int cliente_id)
			throws RemoteException {
		return this.objetoWS.bebidasListarDaVendaAtual(cliente_id);
	}

	@Override
	public void pedidoAtualizar(int id, String status) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void pedidoDeletar(int id) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void pratoDeletar(int id) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int pratoInsumoCadastrar(Prato_Insumo pratoInsumo)
			throws RemoteException {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void pratoInsumoDeletar(int id) throws RemoteException {
		//
	}

	@Override
	public PratoBean[] pratosListarDaVendaAtual(int cliente_id)
			throws RemoteException {
		return this.objetoWS.pratosListarDaVendaAtual(cliente_id);
	}

	@Override
	public void caixaAbrir(Financeiro fin) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void caixaFechar(Financeiro fin) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public FinanceiroBean caixaRecuperar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String clienteRecuperarTelefone(int id) throws RemoteException {
		return null;
	}

	@Override
	public String hello() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PedidoBean[] pedidosMesaListar() throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String pratoRecuperarDescricao(int id) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void vendaAtualizar(Venda venda) throws RemoteException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public VendaBean vendaBuscar(int id) throws RemoteException {
		// TODO Auto-generated method stub
		return null;
	}
}
